import request from '@/utils/request'
// 文件上传
export function upload(data) {
  return request({
    url: `/sysm/employeeFiles/upload`,
    method: 'post',
    data: data
  })
}
// 平台
export function platform(query) {
  return request({
    url: '/sysm/platform/list',
    method: 'get',
    params: query
  })
}
// 模块
export function treeList(query) {
  return request({
    url: '/sysm/module/treeList',
    method: 'get',
    params: query
  })
}
// 部门
export function deptList(query) {
  return request({
    url: '/sysm/dept/treeList',
    method: 'get',
    params: query
  })
}
